package com.cn.wanxi.dao;

import com.cn.wanxi.model.CompanyModel;

import java.util.List;

public interface CompanyDao {
    int add(CompanyModel companyModel);

    CompanyModel getCompanyModel();

    List<CompanyModel> findAll();

    CompanyModel findById(int id);

    int update(CompanyModel companyModel);
}
